﻿using System;
using System.Linq;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;

using Happy.Bootstrap;
using Happy.Bootstrap.Unity;

namespace Happy.Examples.OrderManagement.IntegrationTest
{
    [TestClass]
    public static class AssemblyInitializer
    {
        [AssemblyInitialize]
        public static void Init(TestContext context)
        {
            BootstrapService
             .Current
             .IntegrateWithUnity()
             .UseRegisterServiceByConventionPlug()
                .UseUnitOfWorkRegister()
                .Done()
             .Start();
        }
    }
}
